<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>RRRSRoguelike: RRRSRoguelike.Entities.Player Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="RRRSRoguelike.ico"></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">RRRSRoguelike&#160;<span id="projectnumber">0.3.0.</span></div>
   <div id="projectbrief">This is a Roguelike C# game that has a really simple goal - pickup a sword and kill the monster(s). Of course if you don't pickup the sword you can guess what happens.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_r_r_r_s_roguelike.html">RRRSRoguelike</a>      </li>
      <li class="navelem"><a class="el" href="namespace_r_r_r_s_roguelike_1_1_entities.html">Entities</a>      </li>
      <li class="navelem"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html">Player</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<h1>RRRSRoguelike.Entities.Player Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="RRRSRoguelike::Entities::Player" --><!-- doxytag: inherits="RRRSRoguelike::Entities::Creature" -->
<p><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html" title="Player inherits from creature.">Player</a> inherits from creature.  
<a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for RRRSRoguelike.Entities.Player:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_entities_1_1_player__inherit__graph.png" border="0" usemap="#_r_r_r_s_roguelike_8_entities_8_player_inherit__map" alt="Inheritance graph"/></div>
<map name="_r_r_r_s_roguelike_8_entities_8_player_inherit__map" id="_r_r_r_s_roguelike_8_entities_8_player_inherit__map">
<area shape="rect" id="node2" href="class_r_r_r_s_roguelike_1_1_entities_1_1_creature.html" title="base class for all living entities" alt="" coords="71,80,141,107"/><area shape="rect" id="node4" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html" title="Tile" alt="" coords="85,5,128,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for RRRSRoguelike.Entities.Player:</div>
<div class="dyncontent">
<div class="center"><img src="class_r_r_r_s_roguelike_1_1_entities_1_1_player__coll__graph.png" border="0" usemap="#_r_r_r_s_roguelike_8_entities_8_player_coll__map" alt="Collaboration graph"/></div>
<map name="_r_r_r_s_roguelike_8_entities_8_player_coll__map" id="_r_r_r_s_roguelike_8_entities_8_player_coll__map">
<area shape="rect" id="node12" href="class_r_r_r_s_roguelike_1_1_managers_1_1_dungeon_manager.html" title="RRRSRoguelike.Managers.DungeonManager" alt="" coords="2942,213,3223,240"/><area shape="rect" id="node20" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_visualizer.html" title="RRRSRoguelike.Helpers.DungeonVisualizer" alt="" coords="1805,48,2080,75"/><area shape="rect" id="node32" href="class_r_r_r_s_roguelike_1_1_managers_1_1_creature_manager.html" title="Manages all creatures." alt="" coords="3374,259,3653,285"/><area shape="rect" id="node2" href="class_r_r_r_s_roguelike_1_1_entities_1_1_creature.html" title="base class for all living entities" alt="" coords="891,213,962,240"/><area shape="rect" id="node4" href="class_r_r_r_s_roguelike_1_1_entities_1_1_tile.html" title="Tile" alt="" coords="504,149,547,176"/><area shape="rect" id="node42" href="class_r_r_r_s_roguelike_1_1_entities_1_1_fireball.html" title="RRRSRoguelike.Entities.Fireball" alt="" coords="1051,137,1261,164"/><area shape="rect" id="node6" href="class_r_r_r_s_roguelike_1_1_managers_1_1_action_manager.html" title="Stores a list of actions along with the keys mapped to those actions Checks action map against the in..." alt="" coords="392,213,659,240"/><area shape="rect" id="node8" href="class_r_r_r_s_roguelike_1_1_managers_1_1_input_manager.html" title="RRRSRoguelike.Managers.InputManager" alt="" coords="5,188,264,215"/><area shape="rect" id="node10" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_action_map.html" title="RRRSRoguelike.Helpers.ActionMap" alt="" coords="20,239,249,265"/><area shape="rect" id="node14" href="class_r_r_r_s_roguelike_1_1_screens_1_1_quit_screen.html" title="RRRSRoguelike.Screens.QuitScreen" alt="" coords="2593,99,2829,125"/><area shape="rect" id="node16" href="class_r_r_r_s_roguelike_1_1_screens_1_1_screen.html" title="Screen" alt="" coords="2303,99,2366,125"/><area shape="rect" id="node18" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_panel.html" title="Contains the code for displaying text within the game panels." alt="" coords="2235,48,2435,75"/><area shape="rect" id="node22" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_camera.html" title="RRRSRoguelike.Helpers.Camera" alt="" coords="1286,53,1498,80"/><area shape="rect" id="node24" href="struct_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon_square.html" title="RRRSRoguelike.Helpers.DungeonSquare" alt="" coords="396,49,655,76"/><area shape="rect" id="node26" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_layer.html" title="RRRSRoguelike.Helpers.Layer" alt="" coords="827,19,1026,45"/><area shape="rect" id="node36" href="class_r_r_r_s_roguelike_1_1_helpers_1_1_dungeon.html" title="RRRSRoguelike.Helpers.Dungeon" alt="" coords="2601,317,2820,344"/><area shape="rect" id="node40" href="class_r_r_r_s_roguelike_1_1_managers_1_1_prop_manager.html" title="RRRSRoguelike.Managers.PropManager" alt="" coords="1523,135,1781,161"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_r_r_r_s_roguelike_1_1_entities_1_1_player-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html#ae07dad86de760a79ceba0a112a807369">Player</a> (Point position)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes player.  <a href="#ae07dad86de760a79ceba0a112a807369"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html#a044e21a565f33c485cc3371f9393dd64">MovePlayer</a> (<a class="el" href="namespace_r_r_r_s_roguelike.html#a3094c34b61a23ff0d871cccfe990bebb">Direction</a> direction, int distance=1)</td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IList&lt; <a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_sword.html">Sword</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html#a3c153fbbaabbf9c3fc81ee8bb4cecfc8">Inventory</a><code> [get, set]</code></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_player.html" title="Player inherits from creature.">Player</a> inherits from creature. </p>

<p>Definition at line <a class="el" href="_player_8cs_source.html#l00014">14</a> of file <a class="el" href="_player_8cs_source.html">Player.cs</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae07dad86de760a79ceba0a112a807369"></a><!-- doxytag: member="RRRSRoguelike::Entities::Player::Player" ref="ae07dad86de760a79ceba0a112a807369" args="(Point position)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RRRSRoguelike.Entities.Player.Player </td>
          <td>(</td>
          <td class="paramtype">Point&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Initializes player. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">p</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_player_8cs_source.html#l00026">26</a> of file <a class="el" href="_player_8cs_source.html">Player.cs</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a044e21a565f33c485cc3371f9393dd64"></a><!-- doxytag: member="RRRSRoguelike::Entities::Player::MovePlayer" ref="a044e21a565f33c485cc3371f9393dd64" args="(Direction direction, int distance=1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Boolean RRRSRoguelike.Entities.Player.MovePlayer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_r_r_r_s_roguelike.html#a3094c34b61a23ff0d871cccfe990bebb">Direction</a>&#160;</td>
          <td class="paramname"><em>direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>distance</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_player_8cs_source.html#l00041">41</a> of file <a class="el" href="_player_8cs_source.html">Player.cs</a>.</p>

</div>
</div>
<hr/><h2>Property Documentation</h2>
<a class="anchor" id="a3c153fbbaabbf9c3fc81ee8bb4cecfc8"></a><!-- doxytag: member="RRRSRoguelike::Entities::Player::Inventory" ref="a3c153fbbaabbf9c3fc81ee8bb4cecfc8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IList&lt;<a class="el" href="class_r_r_r_s_roguelike_1_1_entities_1_1_sword.html">Sword</a>&gt; RRRSRoguelike.Entities.Player.Inventory<code> [get, set]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_player_8cs_source.html#l00036">36</a> of file <a class="el" href="_player_8cs_source.html">Player.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Users/Andrew Sadler/Desktop/Sync/RRRS Rogue/RootII/rrrsroguelike/RRRSRoguelike/Entities/Creatures/<a class="el" href="_player_8cs_source.html">Player.cs</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated on Fri Aug 24 2012 20:45:13 for RRRSRoguelike by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
